﻿using Abp.Application.Services;
using FwProject.Com.Dto;
using FwProject.ShopApplication;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace FwProject.Com
{
    public interface IContentManageAppService: IApplicationService
    {
        Task<LayerDataBaseDto> GetLayerDataAsync(int page, int limit, string keyword);

        Task<ContentManageOutputDto> GetEntityByIdAsync(Guid id);

        /// <summary>
        /// 创建
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Guid> CreateAsync(ContentManageEnterDto input);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="id"></param>
        /// <param name="input"></param>
        /// <returns></returns>
        Task ModifyAsync(Guid id, ContentManageEnterDto input);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(Guid id);
    }
}
